// LightDirectionDlg.cpp : implementation file
//

#include "stdafx.h"
#include "opengl.h"
#include "LightDirectionDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CLightDirectionDlg dialog


CLightDirectionDlg::CLightDirectionDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CLightDirectionDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CLightDirectionDlg)
	m_nDirectionX = 0;
	m_nDirectionY = 0;
	m_nDirectionZ = 0;
	//}}AFX_DATA_INIT
}


void CLightDirectionDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CLightDirectionDlg)
	DDX_Text(pDX, IDC_X_DIR, m_nDirectionX);
	DDV_MinMaxInt(pDX, m_nDirectionX, -63, 63);
	DDX_Text(pDX, IDC_Y_DIR, m_nDirectionY);
	DDV_MinMaxInt(pDX, m_nDirectionY, -63, 63);
	DDX_Text(pDX, IDC_Z_DIR, m_nDirectionZ);
	DDV_MinMaxInt(pDX, m_nDirectionZ, -63, 63);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CLightDirectionDlg, CDialog)
	//{{AFX_MSG_MAP(CLightDirectionDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLightDirectionDlg message handlers
